package com.wjw.mapper;

import com.wjw.model.Road_type_table;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface RoadTypeTableMapper {
    List<Road_type_table> findAll();
    List<Road_type_table> findByPage(@Param("page") int page, @Param("limit") int limit);
    int add(Road_type_table road_type_table);
    int delete(int id);
    int change(Road_type_table road_type_table);
}
